home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 613 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.5 KB

  1. Date: Tue, 9 Nov 93 06:04:38 -0500
  2. From: "Nicholas S Castellano" <entropy@terminator.rs.itd.umich.edu>
  3. To: schuller@dutiws.TWI.TUDelft.NL
  4. In-Reply-To: Bart Schuller's message of Mon, 8 Nov 1993 10:34:59 +0100 (MET) <9311080935.AA19789@dutiws.twi.tudelft.nl>
  5. Subject: include file problems
  6.  
  7. >I'm having a nasty problem with the way the MiNTlibs include hierarchy
  8. >works. The problem:
  9. >When compiling something using 'gcc -I. foo.c', strange things happen
  10. >when foo.c includes a file "wait.h" or "compiler.h" . Why? because
  11. >"wait.h" usually will include <sys/wait.h>, which in turn does a
  12. >#include <wait.h> . At this point the error occurs, because the -I.
  13. >option makes gcc include ./wait.h, not /usr/include/wait.h .
  14. >
  15. >I think this problem could happen on any UNIX machine when you have a
  16. >file ./stdio.h for example, but people don't usually do that.
  17. >I think having all these MiNT specific files in /usr/include is the
  18. >wrong thing, they should be in /usr/include/sys or /usr/include/mint.
  19.  
  20. Personally I think it's really stupid for people to distribute a file
  21. called wait.h with their applications.
  22.  
  23. But, since this seems to haunt a lot of people, I'll look into fixing
  24. it.
  25.  
  26. Eventually.
  27.  
  28. Shrug...
  29.  
  30. As for where the include files go, I don't plan on moving them any
  31. time soon unless somebody can point out some standard that's violated
  32. by the current setup.
  33.  
  34. entropy
  35.  
  36. --
  37. entropy -- it's not just a good idea, it's the second law.
  38. Personal mail:      entropy@gnu.ai.mit.edu
  39. MiNT library mail:  entropy@terminator.rs.itd.umich.edu
  40.  
  41.  
  42.